/* 公共样式发布样式 */
.mi-this {
  color: #fff !important;
  background-color: #3398cc !important;
}
.box-shadow {
  box-shadow: rgb(204 204 204) 0px 0px 2px 2px;
}
.no-allow-click {
  cursor: not-allowed !important;
  color: #ccc;
}
.mi-tooltip {
  position: absolute;
  z-index: 8888888888;
  font-size: 13px;
  color: #fff;
  background-color: rgba(48, 49, 51, 0.9);
  text-align: center;
  padding: 6px 8px;
  border-radius: 5px;
}
.mi-tooltip::after {
  content: '';
  position: absolute;
  top: -6px;
  left: calc(50% - 6px);
  width: 0;
  height: 0;
  border-bottom: 6px solid rgba(48, 49, 51, 0.9);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}
.mi-date-disabled {
  cursor: not-allowed !important;
  color: #d2d2d2 !important;
  background-color: #fff !important;
}
/* 输入框部分 */
.mi-date-input{
  position: relative;
  padding-left: 24px;
  box-sizing: border-box;
  width: 100%;
  height: 30px;
  font-size: 14px;
  border: 1px solid #eceff4;
}
.mi-date-box {
  position: relative;
  display: inline-block;
}
.mi-date-box > .icon-riqi{
  position: absolute;
  cursor: pointer;
  color: #c0c4cc;
  left: 6px;
  top: 6px;
  z-index: 1;
}

.mi-date-box-primary > .icon-riqi{
  left: auto;
  right: 6px;
}
.mi-date-box-primary .mi-date-input{
  padding-left: 5px;
  padding-right: 24px;
}
 /* 面板部分 */

  /* 箭头样式 */
  .midate-prev-m,
  .midate-prev-y {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 0;
    height: 0;
    border-right: 10px solid #999;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
  .midate-next-m,
  .midate-next-y {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 0;
    height: 0;
    border-left: 10px solid #999;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
  .midate-prev-y::before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    left: -8px;
    top: -10px;
    border-right: 10px solid #999;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
  .midate-next-y::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    right: -8px;
    top: -10px;
    border-left: 10px solid #999;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
  .midate-now-y {
    width: 40px;
    border: none;
    text-align: center;
  }
  .midate-now-m {
    width: 19px;
    border: none;
    text-align: center;
  }
  /* 主体样式 */
  .midate-wrapper {
    z-index: 6666666666;
    background-color: #fff;
    position: absolute;
    width: 270px;
    border: solid 1px #ddd;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    color: #333;
  }
  /* 头部样式 */
  .midate-header {
    display: flex;
    justify-content: space-between;
    padding: 8px 24px;
    line-height: 18px;
    border-bottom: solid 1px #ddd;
  }
  .midate-month-panel,
  .midate-year-panel {
    position: absolute;
    padding: 5px;
    background-color: #fff;
    z-index: 1;
    top: 35px;
    right: 50px;
    border-radius: 3px;
  }
  .midate-year-panel {
    right: auto;
    left: 50px;
  }
  .midate-month-panel td,
  .midate-year-panel td {
    width: 41px;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
    user-select: none;
  }
  .midate-month-panel td:hover,
  .midate-year-panel .midate-td-hover:hover {
    color: #000;
    background-color: #eee;
  }
  /* 提示样式 */
  .midate-hint-panel {
    position: absolute;
    padding: 15px 5px;
    background-color: #fff;
    color: red;
    font-size: 13px;
    text-align: center;
    width: 200px;
    z-index: 1;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
  }
  /* 星期样式 */
  .midate-week-line {
    display: flex;
    justify-content: space-around;
  }
  .midate-week-line,
  .midate-date-wrap {
    user-select: none;
    padding: 8px 12px;
  }
  .midate-date-wrap {
    padding-top: 0;
    border-bottom: solid 1px #ddd;
  }
  .midate-week-item,
  .midate-date-item {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
  }
  /* 日期样式 */
  .midate-date-line {
    display: flex;
    justify-content: space-around;
  }
  .midate-date-item {
    cursor: pointer;
  }
  .midate-date-item:hover {
    color: #000;
    background-color: #eee;
  }
  .midate-day-prev,
  .midate-day-next {
    color: #d2d2d2;
  }
  /* 时间输入区域 */
  .midate-time {
    display: flex;
    padding: 8px 0 0 4px;
  }
  .midate-time-inputs input{
    font-size: 13px;
    width: 32px;
    margin-right: 4px;
    border-radius: 5px;
    border: solid 1px #666;
    outline: none;
  }
  .midate-wrapper[data-type="date"] .midate-time,
  .midate-wrapper[data-type="datehour"] .midate-time-inputs-minute,
  .midate-wrapper[data-type="datehour"] .midate-time-inputs-second,
  .midate-wrapper[data-type="datehour"] .midate-time-span-minute,
  .midate-wrapper[data-type="datehour"] .midate-time-span-second, 
  .midate-wrapper[data-type="dateminute"] .midate-time-inputs-second,
  .midate-wrapper[data-type="dateminute"] .midate-time-span-second {
    display: none;
  }

  /* 按钮样式 */
  .midate-btns {
    display: flex;
    justify-content: flex-end;
    padding: 8px;
  }
  .midate-btns span {
    font-size: 14px;
    border: solid 1px #ccc;
    padding: 2px 8px;
    cursor: pointer;
  }